package com.yun.dao;

import com.yun.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
@Mapper
public interface UserMapper {
    User queryByUserName(String userName);
    int register(Map<String,Object> map);

    List<User> getUser();


}
